home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3cmpswi.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_COMPASSWINDOW_H = 1;
- include("oops/r3window.js")
-
-
- var R3CLID_COMPASSWINDOW = 1261;
-
-
-
-
- // Returns: Boolean, TRUE if succesfull, FALSE if position is outside the compass or in the dead
- // region
- // p1: Integer[], returns sector
- // p2: Integer[], returns distance
-
- R3COMPASSWINDOWM_GETHITPOS = 1261000;
-
- function mR3COMPASSWINDOWM_GETHITPOS(p1, p2) {
- return DoA3(this.r3obj, 1261000, p1, R3TID_INTEGER, R3TNF_ARRAY, p2, R3TID_INTEGER, R3TNF_ARRAY, 0, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3COMPASSWINDOWA_DeadRadius = 1261500;
- function SetR3COMPASSWINDOWA_DeadRadius(value) {
- R3Set(this.r3obj, R3COMPASSWINDOWA_DeadRadius, value, R3TID_INTEGER, 0);
- }
-
- function GetR3COMPASSWINDOWA_DeadRadius() {
- return R3Get(this.r3obj, R3COMPASSWINDOWA_DeadRadius, R3TID_INTEGER, 0);
- }
-
- R3COMPASSWINDOWA_Radius = 1261501;
- function SetR3COMPASSWINDOWA_Radius(value) {
- R3Set(this.r3obj, R3COMPASSWINDOWA_Radius, value, R3TID_INTEGER, 0);
- }
-
- function GetR3COMPASSWINDOWA_Radius() {
- return R3Get(this.r3obj, R3COMPASSWINDOWA_Radius, R3TID_INTEGER, 0);
- }
-
- R3COMPASSWINDOWA_Circles = 1261502;
- function SetR3COMPASSWINDOWA_Circles(value) {
- R3Set(this.r3obj, R3COMPASSWINDOWA_Circles, value, R3TID_INTEGER, 0);
- }
-
- function GetR3COMPASSWINDOWA_Circles() {
- return R3Get(this.r3obj, R3COMPASSWINDOWA_Circles, R3TID_INTEGER, 0);
- }
-
-
-
- function r3Compasswindow () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_COMPASSWINDOW, arguments);
- }
- // Methods
- this.GETHITPOS=mR3COMPASSWINDOWM_GETHITPOS;
-
- // Attributes
- this.GetDeadRadius=GetR3COMPASSWINDOWA_DeadRadius;
- this.SetDeadRadius=SetR3COMPASSWINDOWA_DeadRadius;
- this.GetRadius=GetR3COMPASSWINDOWA_Radius;
- this.SetRadius=SetR3COMPASSWINDOWA_Radius;
- this.GetCircles=GetR3COMPASSWINDOWA_Circles;
- this.SetCircles=SetR3COMPASSWINDOWA_Circles;
- }
-
- r3Compasswindow.prototype=new r3Window;
- // r3cmpswi.h_H